<?php

namespace App\Http\Controllers\admin;

use App\Dao\BillsDao;
use App\Services\Code;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\View\Factory;
use Illuminate\View\View;

class CommonController extends BaseController
{
    /**
     * @desc 记录
     * @return Application|array|Factory|View
     */
    public function bills()
    {
        if(getIsHasPage()){
            $params = request()->all();
            return Code::message('',200,BillsDao::logs($params));
        }
        return view('admin.common.bills');
    }
}
